package com.alibaba.cirtus.ots.application.adapter.ability.model;

import lombok.Data;

import java.io.Serializable;

/**
 * @author baizhuo
 * @version 1.0
 * @date 2023/12/25 22:36
 */
@Data
public class Result<T> implements Serializable {

    /**
     * 响应体
     */
    private T result;

    /**
     * 是否成功
     */
    private boolean success;

    /**
     * 错误编码
     */
    private String errorCode;

    /**
     * 错误描述
     */
    private String message;

}
